package model

import (
	"database/sql"

	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

// 统一model 执行接口
type Executable interface {
	Exec(query string, args ...interface{}) (sql.Result, error)
}

var ErrNotFound = sqlx.ErrNotFound

var UserAuthTypeSystem string = "system"   //平台内部
var UserAuthTypeSmallWX string = "wxMini"  //微信小程序
var UserAuthTypeMessage string = "message" //手机短信登陆
